<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org"
      xmlns:sec="http://www.thymeleaf.org/extras/spring-security">
<head>
  <meta charset="UTF-8">
  <title>admin add</title>
</head>
<body>

<form  method="post" th:action="@{/submit_admin_add}" >
  用户名：<input type="text" name="adminName"><br>
  密码： <input type="password" name="adminPassword"><br>
  状态：<select  name="adminStatus">
  <option  value="1">启用</option>
  <option  value="0">禁用</option>
</select><br>
  <label style="color: red" th:text="${adminMsg}" th:if="${not #strings.isEmpty(admimnMsg)}"></label>
  <input type="submit" value="添加">
</form>

</body>
</html>